//
//  MK_BarrageManager.h
//  miku直播
//
//  Created by 杨尚达 on 2017/7/21.
//  Copyright © 2017年 杨尚达. All rights reserved.
//

#import <Foundation/Foundation.h>

///普通弹幕消息通知
#define NotificationOfMK_BarrageModelSend @"NotificationOfMK_BarrageModelSend"
///特殊用户登陆通知
#define NotificationOfMK_UseLogInRoom @"NotificationOfMK_UseLogInRoom"

///弹幕协议
@protocol MK_Barrage_Protocol <NSObject>

///弹幕属性字符串
@property(nonatomic,copy)NSMutableAttributedString* barrageStr;


@end





///弹幕管理者对象
@interface MK_BarrageManager : NSObject

///单例方法
+(instancetype)share;

/**
 连接至指定房间号的房间

 @param roomNumBer 房间号
 */
-(void)logInRoomWith:(NSString*)roomNumBer;


/**
 登出房间
 */
-(void)logoutRoom;

@end
